﻿using System;
using Microsoft.EntityFrameworkCore;
using ORS.OrderRobot.Domain;

namespace ORS.OrderRobot.EFCore.Repository
{
	public class AccountBoardingRepository : EfCoreRepository<AccountBoarding,int>,IAccountBoardingRepository
    {
		public AccountBoardingRepository(OrsDbContext dbContext):base(dbContext)
		{
		}
        protected override IQueryable<AccountBoarding> IncludeDetails(IQueryable<AccountBoarding> query)
        {
            query = query.Include(x => x.Account);
            return base.IncludeDetails(query);
        }
    }
}

